#!/usr/bin/node
const user={
  name:'王顶',
  age:19,
  qq:'123456'
};
const log=console.log;
log('name:%s',user.name);
log('age%d',user.age);
log('user:%j',user);

log('qq: %s',user.qq);
log('qq:',user.qq);
log('qq: '+user.qq);
log(`qq: ${user.qq}`);

//标准错误流
console.error('Error:something wrong');

